//
//  UserForm.m
//  Bus
//
//  Created by wangjiajia on 13-11-22.
//  Copyright (c) 2013年 wangjiajia. All rights reserved.
//

#import "UserForm.h"

@implementation UserForm
+(id)initWithSequence:(NSString *)sequence
             FormName:(NSString *)formName
                 Name:(NSString *)name
           FqUserName:(NSString *)fqUserName
                State:(NSString *)state
          FileContent:(NSString *)fileContent
             NowTimes:(NSString *)nowTimes
    UpTimeSet:(NSString *)upTimeSet
           WtUsername:(NSString *)wtUsername
                   Id:(NSString *)Id
             UpNodeId:(NSString *)upNodeId
           FlowNumber:(NSString *)flowNumber
               FormId:(NSString *)formId
           FormNumber:(NSString *)formNumber
          JBRObjectId:(NSString *)jbrObjectId
        JBRObjectName:(NSString *)jbrObjectName
              SpModle:(NSString *)spModle
               Number:(NSString *)number
               FlowId:(NSString *)flowId
             FlowName:(NSString *)flowName
         UpNodeNumber:(NSString *)upNodeNumber
            UpNodeNum:(NSString *)upNodeNum
           UpNodeName:(NSString *)upNodeName
             FqUserID:(NSString *)fqUserId
          YJBObjectId:(NSString *)yjbObjectId
         YJBObjecName:(NSString *)yjbObjectName{
    UserForm* userForm=[[UserForm alloc] init];
    userForm.Sequence=sequence;
    userForm.FormName=formName;
    userForm.Name=name;
    userForm.FqUserName=fqUserName;
    userForm.State=state;
    userForm.FileContent=fileContent;
    userForm.NowTimes=nowTimes;
    userForm.UpTimeSet=upTimeSet;
    userForm.WtUsername=wtUsername;
    userForm.Id=Id;
    userForm.UpNodeId=upNodeId;
    userForm.FlowNumber=flowNumber;
    userForm.FormId=formId;
    userForm.FormNumber=formNumber;
    userForm.JBRObjectId=jbrObjectId;
    userForm.JBRObjectName=jbrObjectName;
    userForm.SpModle=spModle;
    userForm.Number=number;
    userForm.FlowId=flowId;
    userForm.FlowName=flowName;
    userForm.UpNodeNumber=upNodeNumber;
    userForm.UpNodeNum=upNodeNum;
    userForm.UpNodeName=upNodeName;
    userForm.FqUserID=fqUserId;
    userForm.YJBObjectId=yjbObjectId;
    userForm.YJBObjecName=yjbObjectName;
    return userForm;
}
-(NSString *)description{
    return [NSString stringWithFormat:@"%@,%@,%@,%@",self.Sequence,self.Name,self.FormName,self.State];
}
@end
